traffic-type nvgre

Configures or removes the nvgre header type to be matched for traffic classification.

Syntax

traffic-type nvgre ip [ A.B.C.D | X:X::X:X | any ]
traffic-type nvgre mode [ decap | new-scope ]
traffic-type nvgre vsid vsid value
no traffic-type nvgre [ ip | mode | vsid ]

Parameters

nvgre
Specifies the nvgre header to be matched for classifying the packet.
ip
Specifies the actions for matching packets.
A.B.C.D
Specifies the IPv4 address.
X:X::X:X
Specifies the IPv6 address.
any
Specifies any source IP address.
mode
Specifies the actions for matching packets.
decap
Removes the encapsulated header.
new-scope
Shifts the scope of headers to inner headers for further processing.
vsid vsid value
Valid VSID range is 4096-16777214. The VSID range 1-4095 and VSID value 16777215 are reserved and not configurable.

Modes

Ingress-group config mode

Usage Guidelines

Validations for the command are as follows:

Examples

The following example configures nvgre traffic type with decap mode.

device(config-ingress-group)# traffic-type nvgre vsid 7000 mode decap 
device(config-ingress-group)# end

device# show running-config ingress-group ing 

ingress-group ing
       	    Name : ing 
             Route-Map : - 
           Description : - 
            Interfaces : none 
          Traffic-Type : NVGRE 
             Tunnel-Id : 7000 
                  Mode : decap 
   Destination-ip-addr : any 
        Source-ip-addr : any 
 
device# show running-config ingress-group 

ingress-group ing 
  traffic-type nvgre vsid 7000 mode decap 
  traffic-type nvgre ip any any 

device# conf t 
device(config)# ingress-group ing 
device(config-ingress-group)# no traffic-type nvgre mode 
device(config-ingress-group)# end 

device# show running-config ingress-group 

ingress-group ing 
  traffic-type nvgre vsid 7000 
  traffic-type nvgre ip any any